package com.example.userwallet.service;

import com.example.userwallet.entity.OrderItems;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.userwallet.util.JsonUtil;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * <p>
 * 交易详情表 服务类
 * </p>
 *
 * @author lyl
 * @since 2023-03-15
 */
public interface OrderItemsService extends IService<OrderItems> {
    JsonUtil AccConsume(String userAccount, Double amount, String merchantAccount);

    JsonUtil AccRefund(String userAccount, Double amount, String merchantAccount);

    JsonUtil accountDetailed(String userAccount);


}
